import request from "@/utils/request"

// 获取房产列表
export const getPropertyList = params => request({
    url: "/properties",
    params
})

// 获取指定房产
export const getPropertyDetail = id => request({
    url: `/properties/${id}`,
method:"get"
})